package com.tiku.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName user_order
 */
@TableName(value ="user_order")
@Data
public class UserOrder implements Serializable {
    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 订单数量
     */
    private String number;

    /**
     * 订单状态0未支付1已支付
     */
    private String orderType;

    /**
     * 订单号
     */
    private String orderNumber;

    private String userQuestionTable;


    /**
     * 订单金额
     */
    private BigDecimal money;

    /**
     * 订单时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}